<?php

define('GEO_CHILD', TEMPLATEPATH.'Child/');
define('GEO_CHILD_LIBRARY',TEMPLATEPATH.'Child/library/'); //admin folder path

//include constant
if(file_exists(GEO_CHILD_LIBRARY . 'constants.php')){
	include_once(GEO_CHILD_LIBRARY.'constants.php');  //ALL CONSTANTS FILE INTEGRATOR
}
//include widget
if(file_exists(GEO_CHILD_LIBRARY . 'widgets.php')){
	include_once(GEO_CHILD_LIBRARY.'widgets.php');  //ALL CONSTANTS FILE INTEGRATOR
}

//include plugin
if(file_exists(GEO_CHILD_LIBRARY . 'plugins.php')){
	include_once(GEO_CHILD_LIBRARY.'plugins.php');  //ALL CONSTANTS FILE INTEGRATOR
}

if(file_exists(GEO_CHILD_LIBRARY . 'rewriteRules.php')){
	include_once(GEO_CHILD_LIBRARY.'rewriteRules.php');  //ALL CONSTANTS FILE INTEGRATOR
}

if(file_exists(TEMPLATEPATH.'Child/language.php')){
    include_once(TEMPLATEPATH.'Child/language.php');  //ALL CONSTANTS FILE INTEGRATOR
}

if(file_exists(GEO_CHILD.'/registration/controller.php')){
    include_once(GEO_CHILD.'/registration/controller.php');  //ALL CONSTANTS FILE INTEGRATOR
}